package home_work4;

import java.util.ArrayList;
import java.util.Collection;

public class test1 {public static void main(String[] args) {
	Collection <String>c1 = new ArrayList();
	Collection c2 = new ArrayList();
	Collection c3 = new ArrayList();
	c1.add("one");c1.add("two");c1.add("three");
	c2.add("four");c2.add("five");c2.add("six");
	c1.addAll(c2);
	c3.add("one");c3.add("five");
	c1.containsAll(c3);c1.remove("two");
	for (String string : c1) {
		System.out.println(string);
	}
	
}
}
